package com.itboy.dao;

import com.itboy.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
//添加到spring容器注解
@Repository
//添加boot中的mapper注释
@Mapper
public interface UserDao {
    List<User> findAll();
}
